Skip to content

demo devoxx 2025 #1553

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

Open
wants to merge 3 commits into
base: main
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
22 changes: 11 additions & 11 deletions examples/react-oidc-demo/public/OidcTrustedDomains.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion examples/react-oidc-demo/src/MultiAuth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ export const MultiAuthContainer = () => {
redirect_uri: callBack,
silent_redirect_uri,
scope: 'openid profile email api offline_access',
client_id: 'interactive.public.short',
},
config_without_refresh_token: {
...configurationIdentityServer,
Expand Down
16 changes: 10 additions & 6 deletions examples/react-oidc-demo/src/configurations.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
import { TokenAutomaticRenewMode, TokenRenewMode } from '@axa-fr/react-oidc';

Check failure on line 1 in examples/react-oidc-demo/src/configurations.ts

View workflow job for this annotation

GitHub Actions / Run linters

Delete `⏎`

Check failure on line 1 in examples/react-oidc-demo/src/configurations.ts

View workflow job for this annotation

GitHub Actions / Run linters

Delete `⏎`
export const configurationIdentityServer = {
client_id: 'interactive.public.short',
redirect_uri: window.location.origin + '/authentication/callback',
silent_redirect_uri: window.location.origin + '/authentication/silent-callback',
// silent_redirect_uri: window.location.origin + '/authentication/silent-callback',
scope: 'openid profile email api offline_access',
authority: 'https://demo.duendesoftware.com',
refresh_time_before_tokens_expiration_in_second: 40,
token_renew_mode: TokenRenewMode.access_token_invalid,
token_automatic_renew_mode: TokenAutomaticRenewMode.AutomaticBeforeTokenExpiration,
service_worker_relative_url: '/OidcServiceWorker.js',
service_worker_only: false,
// service_worker_relative_url: '/OidcServiceWorker.js',
};

Check failure on line 10 in examples/react-oidc-demo/src/configurations.ts

View workflow job for this annotation

GitHub Actions / Run linters

Delete `⏎⏎⏎⏎⏎⏎⏎⏎`

Check failure on line 10 in examples/react-oidc-demo/src/configurations.ts

View workflow job for this annotation

GitHub Actions / Run linters

Delete `⏎⏎⏎⏎⏎⏎⏎⏎`









export const configurationIdentityServerWithHash = {
client_id: 'interactive.public.short',
redirect_uri: window.location.origin + '/multi-auth/authentification#authentication-callback',
Expand Down
Loading