Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support refresh tokens by adding "offline_access" scope. Add instruct… #174

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Register your application by selecting **Applications** > **Add Application**. O

On the following screen, edit the application settings. For these sample applications we are using port number 8080. Configure your app as follows:

* Avoid third-party cookies by enabling the `Refresh Token` grant type under **General Settings > Grant type > Core grants > Refresh Token**.
* **Base URI**: `http://localhost:8080`
* **Login redirect URI**: `http://localhost:8080/login/callback`
* **Logout redirect URI**: `http://localhost:8080`
Expand Down
2 changes: 1 addition & 1 deletion custom-login/src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
clientId: `${CLIENT_ID}`,
issuer: `${ISSUER}`,
redirectUri: 'http://localhost:8080/login/callback',
scopes: ['openid', 'profile', 'email'],
scopes: ['openid', 'profile', 'email', 'offline_access'],
testing: {
disableHttpsCheck: `${OKTA_TESTING_DISABLEHTTPSCHECK}`
},
Expand Down
2 changes: 1 addition & 1 deletion okta-hosted-login/src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
clientId: `${CLIENT_ID}`,
issuer: `${ISSUER}`,
redirectUri: 'http://localhost:8080/login/callback',
scopes: ['openid', 'profile', 'email'],
scopes: ['openid', 'profile', 'email', 'offline_access'],
pkce: true,
testing: {
disableHttpsCheck: `${OKTA_TESTING_DISABLEHTTPSCHECK}`
Expand Down