Browse Source

Not client API, spring boot!

Matt Raible 7 years ago
parent
commit
d88e17080f
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      TUTORIAL.md

+ 2
- 4
TUTORIAL.md View File

203
 yarn add angular-stormpath-ionic
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
 ```typescript
208
 ```typescript
211
 import { StormpathConfiguration, StormpathModule } from 'angular-stormpath';
209
 import { StormpathConfiguration, StormpathModule } from 'angular-stormpath';
213
 
211
 
214
 export function stormpathConfig(): StormpathConfiguration {
212
 export function stormpathConfig(): StormpathConfiguration {
215
   let spConfig: StormpathConfiguration = new StormpathConfiguration();
213
   let spConfig: StormpathConfiguration = new StormpathConfiguration();
216
-  spConfig.endpointPrefix = 'https://raible.apps.stormpath.io';
214
+  spConfig.endpointPrefix = 'http://localhost:8080';
217
   return spConfig;
215
   return spConfig;
218
 }
216
 }
219
 
217