|
@@ -203,9 +203,7 @@ Install [Ionic pages for Stormpath](https://github.com/stormpath/stormpath-sdk-a
|
203
|
203
|
yarn add angular-stormpath-ionic
|
204
|
204
|
```
|
205
|
205
|
|
206
|
|
-Modify `src/app/app.module.ts` to define a `stormpathConfig` function. This function is used to configure the `endpointPrefix` to point to the DNS label for your Client API instance. Import `StormpathModule`, `StormpathIonicModule`, and override the instance of `StormpathConfiguration`. You’ll also need to append Stormpath's pre-built Ionic pages to `entryComponents`.
|
207
|
|
-
|
208
|
|
-**NOTE:** You can find and configure your DNS label by logging into https://api.stormpath.com and navigating to Applications > My Application > Policies > Client API > DNS Label. Since mine is “raible”, I’ll be using `raible.apps.stormpath.io` for this example.
|
|
206
|
+Modify `src/app/app.module.ts` to define a `stormpathConfig` function. This function is used to configure the `endpointPrefix` to point to your Spring Boot API. Import `StormpathModule`, `StormpathIonicModule`, and override the instance of `StormpathConfiguration`. You’ll also need to append Stormpath's pre-built Ionic pages to `entryComponents`.
|
209
|
207
|
|
210
|
208
|
```typescript
|
211
|
209
|
import { StormpathConfiguration, StormpathModule } from 'angular-stormpath';
|
|
@@ -213,7 +211,7 @@ import { StormpathIonicModule, LoginPage, ForgotPasswordPage, RegisterPage } fro
|
213
|
211
|
|
214
|
212
|
export function stormpathConfig(): StormpathConfiguration {
|
215
|
213
|
let spConfig: StormpathConfiguration = new StormpathConfiguration();
|
216
|
|
- spConfig.endpointPrefix = 'https://raible.apps.stormpath.io';
|
|
214
|
+ spConfig.endpointPrefix = 'http://localhost:8080';
|
217
|
215
|
return spConfig;
|
218
|
216
|
}
|
219
|
217
|
|