Spring Boot and Okta in 2 Minutes
![Spring Boot and Okta in 2 Minutes](/assets-jekyll/blog/okta-cli-spring-boot/okta-cli-loves-spring-boot-53330e2562bc9641cc7d7ecdc226a6bcf128ad74943e7edff0ca86f5b008cd5c.png)
The Okta CLI is a new tool we’ve created here at Okta. It’s designed to streamline the process of creating new Okta accounts, registering apps, and getting started. Wwwhhaaattt, you might say?! That’s right, it’s super awesome! To show you how much fun it is, I created a screencast that shows you how to use it. This video puts your settings in src/main/resources/application.properties. We’ve since changed the default behavior to use spring-dotenv. For those that...
Quickly Consume a GraphQL API from React
![Quickly Consume a GraphQL API from React](/assets-jekyll/blog/featured/okta-react-headphones-7eb452b2d9437d217af818caf8efdf8e509eb802d059510b54a6635494ad1cbd.jpg)
React.js is one of the most popular front-end javascript frameworks today. For most of its life, React has connected to REST APIs to fetch or save data on a server. GraphQL is a query language that aims to replace REST APIs by providing consumers with a clear description of the data in the API. By combining these two technologies, you can quickly connect to an API with your React.js application. There are many packages available...
Build a Secure Spring Data JPA Resource Server
![Build a Secure Spring Data JPA Resource Server](/assets-jekyll/blog/spring-data-jpa/secure-spring-data-304afbd745a077c0a6e6e3b7affe61aceb981fe22f1328b2f30b65c3640b7b92.png)
In this tutorial, you’re going to use Spring Boot and Spring Data to build a fully functioning web service with ridiculously little effort. You’re also going to use Okta to secure the web service using professional, standards-compliant OIDC JWT authentication. All of this will be bootstrapped by the Okta CLI. Before you get started on the actual application, however, let’s take a look at Spring Data for a moment. Table of Contents What is Spring...
Build a secure GraphQL API with Node.js
![Build a secure GraphQL API with Node.js](/assets-jekyll/blog/featured/okta-node-skew-81b821d4ba7097b63abb6d733e9d3863f56ca49396ec3861b446c7bf21173cd9.jpg)
GraphQL is a query language for APIs that provides a clear description of the data and allows clients to specify what data they need, Benefits of using GraphQL include: reduced overhead,improved performance, and reduced risk of potential errors as the API evolves. If the API enhances its functionality, existing clients won’t be affected unless they want to opt in to the new features. Clients can also obtain many resources with a single request. Typical REST...
The Definitive Guide to WSGI
![The Definitive Guide to WSGI](/assets-jekyll/blog/definitive-guide-to-wsgi/festisite-wsgi-card-cfee84bcf9c8f79fd958b61cf06dbc6447898a2a8d7c4814d1cc2ea4ea144ccd.jpg)
Python has a number of different frameworks for building web applications. The choice of framework limits the choice of available web servers. Java also has a number of web frameworks but they are all based on the common servlet API which means that any framework can run on any web server which supports the servlet API. You’ve probably seen WSGI mentioned before, but you might not be exactly sure what it meant or did. In...
Build a Next.js Application with TypeScript
![Build a Next.js Application with TypeScript](/assets-jekyll/blog/featured/okta-react-bottle-headphones-0a071a78d891a5af2e050e3f1b15949eb1b9633f60a027d9f644a518203d9dfc.jpg)
Next.js is a React framework that aims to provide the best development experience. It is feature rich, including hybrid static and server rendering, TypeScript support, built-in CSS support, API routers, and much more. TypeScript is an open-source language that is built on JavaScript that allows developers to use types. In this tutorial, you will learn how to use TypeScript with Next.js. Finally, you will secure your application with Okta Single Sign-On and the built-in functionality...
The Development Environment of the Future
![The Development Environment of the Future](/assets-jekyll/blog/the-development-environment-of-the-future/card-310e9665e2bef7822492311f919ca8e93b31375b8adc73f519217495f1627d43.png)
Here’s a thought exercise for you: How will we develop software in the near future? Below, I’ll lay out what I think that looks like. Some of the things in this post exist in some form already. And some things don’t exist… yet. To begin, I’m going to start with a short story about someone using this futuristic development environment: A Story Imagine Viola. She is a software developer at Sunnyvale Systems, a logistics company....
A Quick Guide to Security with Vaadin Fusion and Spring Boot
![A Quick Guide to Security with Vaadin Fusion and Spring Boot](/assets-jekyll/blog/vaadin-spring-boot/vaadin-spring-boot-593ffd03ffaf6f9a7abb0714e43fd1fc87587ad8292e1789dcc8c1a1c62e5e7b.png)
Building a web application involves a lot of moving pieces. You have a backend server handling API calls, a frontend application running business logic, and you need to somehow make sure both are in sync and secure. In this blog post, you’ll learn how to use Vaadin Fusion, Spring Boot, and Okta to create a full-stack web application with authentication. Specifically, you’ll learn how to: Create a Spring Boot-based Vaadin Fusion app Secure server endpoints...
OAuth Sketch Notes - Live Q&A
![OAuth Sketch Notes - Live Q&A](/assets-jekyll/blog/oauth-sketch-notes-livestream/sketch-notes-11ff07452bb54b9176ac93aaff55bf04bebf6cd4eeae512440efc631a66128cc.jpg)
Why do we need PKCE in OAuth? How does PKCE work? What’s the difference between the front channel and back channel? Can SPAs even use a back channel? These are just a few of the things we talked about during this sketch notes livestream! Developer advocates Lee Brandt and Aaron Parecki discuss PKCE, cross-site scripting, OAuth vs OpenID Connect and more, all while David Neal sketched notes live! Some of the other topics covered include...
Protecting a Laravel API with JWT
![Protecting a Laravel API with JWT](/assets-jekyll/blog/featured/okta-php-headphones-c6f0e7e833178e4b70e79a88d9f92b1ec41b2ec6b8c9792f014cdb6c7db56f86.jpg)
With the increasing popularity of single-page apps and the growing API economy, JSON Web Tokens (JWTs) are becoming a very popular method for authenticating users. Rather than relying on the server to store the user’s state, JWTs encode information in a keyed payload stored on the client. JWTs are not inherently less secure than server-side session storage. But developers should understand the tradeoffs and know what to do if a JWT is compromised. You should...