Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 849 Bytes

File metadata and controls

27 lines (22 loc) · 849 Bytes

Angular

A very simple and straightforward application that demonstrates how you can connect a client made in Angular to island.is IdentityServer

To trigger an authorize call to identity server, click on the "Protected" link

The service is setup with environment variables for nonproduction only You need to change theese variables to match your client's For example:

export const environment = {
  production: false,
  serviceLink: 'https://localhost:5001/',
  identityServer: {
    authority: 'https://localhost:6001/',
    clientId: '<YOUR_CLIENT_ID>',
    redirectUri: `${window.location.origin}/signin-oidc`,
    responseType: 'code',
    scope: 'openid profile api.scope'
  }
};

To run this app, use the command ng s --open in a console at the root of the project You will then be redirected to http://localhost:4200/