# Implicit callback not updating local storage

**URL:** <https://devforum.okta.com/t/implicit-callback-not-updating-local-storage/2695>\
**Category:** Questions\
**Created:** [September 10, 2018, 1:46pm UTC](https://devforum.okta.com/t/implicit-callback-not-updating-local-storage/2695 "2018-09-10T13:46:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joelosx](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@joelosx](https://devforum.okta.com/u/joelosx)\
**Post date:** [September 10, 2018, 1:46pm UTC](https://devforum.okta.com/t/implicit-callback-not-updating-local-storage/2695/1 "2018-09-10T13:46:12Z")

</div>

```
import React from 'react';
import { BrowserRouter as Router, Route } from 'react-router-dom';
import { Security, ImplicitCallBack } from '@okta/okta-react';

import Header from 'components/Header';
import Signup from 'containers/Signup';
import HomePage from 'containers/HomePage';

const config = {
  issuer: 'https://telegents.oktapreview.com/oauth2/default',
  redirectUri: 'http://localhost:3000/implicit/callback',
  clientId: 'xxxxxxxxxxx',
};

export default function App() {
  return (
    <div>
      <Router>
        <Security
          issuer={config.issuer}
          client_id={config.clientId}
          redirect_uri={window.location.origin + '/implicit/callback'}
        >
          <Header />
          <Route path="/implicit/callback" component={ImplicitCallBack} />
          <Route exact path="/" component={HomePage} />
          <Route path="/signup" component={Signup} />
        </Security>
      </Router>
    </div>
  );
}

```

I am able to successfully authenticate and receive the id\_token back in the url as you can see below but I can not figure out why it is not matching the route path and updating local storage.

The only unique difference is I am using React Boilerplate for my project. However all other paths are matching.

[http://localhost:3000/implicit/callback#id\_token=eyJra](http://localhost:3000/implicit/callback#id_token=eyJra) … (edited )

---

<div class="post-metadata">

**Author:** ![joelosx](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@joelosx](https://devforum.okta.com/u/joelosx)\
**Post date:** [September 10, 2018, 4:45pm UTC](https://devforum.okta.com/t/implicit-callback-not-updating-local-storage/2695/2 "2018-09-10T16:45:31Z")

</div>

Crap … I figured it out… sorry guys

---

<div class="post-metadata">

**Author:** ![tom](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/tom/32/24_2.png) [@tom](https://devforum.okta.com/u/tom)\
**Post date:** [September 11, 2018, 8:25pm UTC](https://devforum.okta.com/t/implicit-callback-not-updating-local-storage/2695/3 "2018-09-11T20:25:14Z")

</div>

What was the issue? Curious if there is something we can learn from your learning 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 12, 2024, 11:34pm UTC](https://devforum.okta.com/t/implicit-callback-not-updating-local-storage/2695/4 "2024-01-12T23:34:59Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
